package com.lichuang.fruitvarietysm.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author shuaihang
 * @since 2019-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("goods_evalutate_append")
@ApiModel(value = "GoodsEvalutateAppend对象", description = "")
public class GoodsEvalutateAppend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "追加评论的id")
    @TableId(value = "append_id", type = IdType.AUTO)
    private Integer appendId;

    @ApiModelProperty(value = "商品评价")
    private Integer goodsId;

    @ApiModelProperty(value = "对应商品评价的id，进行追加评论")
    private Integer evaluateId;

    @ApiModelProperty(value = "追加评论的内容")
    private String appendValue;

    @ApiModelProperty(value = "追加评论的图片")
    private String appendImg;

    @ApiModelProperty(value = "追加评论的时间")
    @TableField("createTime")
    private LocalDate createTime;


}
